[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            monthexpand - convert a month abbrev to its name

  Syntax              char *monthexpand(int month);

  Prototype in        datehk.h

  Remarks             monthexpand returns the name of a month given its
                      numeric abbreviation.

                      monthexpand returns an element of a static char
                      array, so you should not make any changes directly
                      to the returned value, but rather copy the returned
                      value to a safe piece of memory.

  Return value        returns a pointer to the storage location
                      containing the date structure, or NULL if the month
                      given is invalid.

  See also            Months[], MonthAbbr[]  (global variables)
                      Cal...(), date_convert(), ddatetofull(),
                      ddatetoshort(), ddatetostr(), fulltoddate(),
                      Greg...(), Jul...(), shorttoddate(), strtoddate()

  Example             #include <datehk.h>

                      main()
                      {
                           printf("Month 4 = %s\n",monthexpand(4));
                      }

  Program output      Month 4 = April


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson